-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WeatherStatus] Support more weather codes, change icons, fix style #48353
[WeatherStatus] Support more weather codes, change icons, fix style #48353
Conversation
bf8943e
to
64fae5b
Compare
apps/weather_status/src/App.vue
Outdated
min-width: 44px !important; | ||
min-height: 44px !important; | ||
.weather-image { | ||
width: 28px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Magic value? Why 28px?
Our default icons are 16px (which is ~20px MDI icon size)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind using 20px. It's just less visible.
I just raised the size as much as possible to make it easier to see/identify the icon. These weather icons are slightly more important than classic ones IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but then maybe:
width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License information is important
Thank you for fixing, |
5f0b0de
to
b487b8b
Compare
apps/weather_status/src/App.vue
Outdated
min-width: 44px !important; | ||
min-height: 44px !important; | ||
.weather-image { | ||
width: 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you prefer bigger icons:
width: 20px; | |
width: calc(var(--default-clickable-area) - 2 * var(--default-grid-baseline)); |
b487b8b
to
1b7ae47
Compare
Signed-off-by: Julien Veyssier <[email protected]>
…he icons provided by met.no, cleanup UI Signed-off-by: Julien Veyssier <[email protected]>
…and 'no weather info' Signed-off-by: Julien Veyssier <[email protected]>
…e icons from @mdi/svg Signed-off-by: Julien Veyssier <[email protected]>
1b7ae47
to
e73c03c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Julien Veyssier <[email protected]>
e73c03c
to
efcc3e5
Compare
/compile |
Signed-off-by: nextcloud-command <[email protected]>
@julien-nc very nice – just one detail: The previous icons worked a bit nicer with the style of Nextcloud, is there a specific reason they got replaced? If not I think it would be good to keep using the previous ones, if that’s ok with you? :) |
This branch is based on the one of #47702.
@mdi/svg